<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script src="../requirejs/require.js"></script>
	<script>

	require.config( {
		baseUrl: './',
		paths: {
			itcast: 'itcast'
		},
		shim: {
			itcast: {
				exports: 'func'
			}
		}
	} )

		
	require( [ 'itcast' ], function ( func ) {
		console.log( func );
	} );

	</script>
</body>
</html>